package com.beyond.trace.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.beyond.trace.domain.knowledgebase.KnowledgeBase;

import java.util.List;

/**
 * @ClassName: KnowledgeBaseService
 * @author: z越
 * @date: 2024/2/20  9:54
 * @description
 */
public interface KnowledgeBaseService extends IService<KnowledgeBase> {

    /**
     * 通过名称查询
     */
    KnowledgeBase findByName(String name);

    /**
     * 通过类型查询
     */
    List<KnowledgeBase> findAllByType(String type);
}
